package com.ruoyi.merchant.other.mapper;

import com.ruoyi.merchant.domain.MerchantCouponOrder;
import com.ruoyi.merchant.other.vo.MerchantCouponVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface CouponOrderMapper {

    CouponOrderMapper INSTANCE = Mappers.getMapper(CouponOrderMapper.class);

    MerchantCouponVo toMerchantCouponVo(MerchantCouponOrder merchantCouponOrder);

    List<MerchantCouponVo> toMerchantCouponVoList(List<MerchantCouponOrder> merchantCouponOrderList);
}
